package com.eascs.banknet.log.dao;

import org.springframework.stereotype.Repository;

import com.eascs.banknet.common.dao.BaseO2oDao;
import com.eascs.banknet.log.entity.LogEntity;

@Repository
public class LogDao extends BaseO2oDao {
	public LogEntity getEntityByAppNoAndTransType(String appNo, String transType) {
		String sql = "select * from o2o_bank_trans_log where app_no = ? and trans_type = ?";
		return this.findEntity(sql, LogEntity.class, new Object[] { appNo, transType });
	}
}
